package com.aruba.bean;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class User {
    private Integer uid;
    private String username;
    private String password;
    private Job job;

    private String[] skills;
    private Skill[] skills2;
    private List<Skill> skillList;
    private Set<Skill> skillSet;
    private Map<String,Skill> skillMap;

    public User() {
    }

    public User(Integer uid, String username, String password) {
        this.uid = uid;
        this.username = username;
        this.password = password;
    }

    public String[] getSkills() {
        return skills;
    }

    public void setSkills(String[] skills) {
        this.skills = skills;
    }

    public Skill[] getSkills2() {
        return skills2;
    }

    public void setSkills2(Skill[] skills2) {
        this.skills2 = skills2;
    }

    public List<Skill> getSkillList() {
        return skillList;
    }

    public void setSkillList(List<Skill> skillList) {
        this.skillList = skillList;
    }

    public Set<Skill> getSkillSet() {
        return skillSet;
    }

    public void setSkillSet(Set<Skill> skillSet) {
        this.skillSet = skillSet;
    }

    public Map<String, Skill> getSkillMap() {
        return skillMap;
    }

    public void setSkillMap(Map<String, Skill> skillMap) {
        this.skillMap = skillMap;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", job=" + job +
                '}';
    }

    public User(Integer uid, String username, String password, Job job) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.job = job;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }
}
